<?php

namespace app\model;

use app\BaseModel;
use think\model\relation\HasMany;

/**
 * 量表包信息
 */
class RatingScalePackInfoModel extends BaseModel
{
    protected $name = 'rating_scale_pack_info';

    /**
     * 包内量表
     * @return HasMany
     */
    public function RatingScalePack(): HasMany
    {
        return $this->hasMany(RatingScalePackModel::class, 'pack_info_id');
    }
}